package com.yimoo.elearning.vo;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Userinfo entity. @author MyEclipse Persistence Tools
 */

public class Userinfo implements java.io.Serializable {

	// Fields

	private Integer uid;
	private String name;
	private String passwd;
	private Integer type;
	private String sex;
	private Date birth;
	private String img;
	private String text;
	private String email;
	private String tfkey;
	private Integer cridit;
	private Set groupinfos = new HashSet(0);
	private Set userfavors = new HashSet(0);
	private Set userfocusedsForUid = new HashSet(0);
	private Set userfocusedsForUided = new HashSet(0);

	// Constructors

	/** default constructor */
	public Userinfo() {
	}

	/** minimal constructor */
	public Userinfo(String name, String passwd, Integer type, String sex, Date birth, String img, String text,
			String email, Integer cridit) {
		this.name = name;
		this.passwd = passwd;
		this.type = type;
		this.sex = sex;
		this.birth = birth;
		this.img = img;
		this.text = text;
		this.email = email;
		this.cridit = cridit;
	}

	/** full constructor */
	public Userinfo(String name, String passwd, Integer type, String sex, Date birth, String img, String text,
			String email, String tfkey, Integer cridit, Set groupinfos, Set userfavors, Set userfocusedsForUid,
			Set userfocusedsForUided) {
		this.name = name;
		this.passwd = passwd;
		this.type = type;
		this.sex = sex;
		this.birth = birth;
		this.img = img;
		this.text = text;
		this.email = email;
		this.tfkey = tfkey;
		this.cridit = cridit;
		this.groupinfos = groupinfos;
		this.userfavors = userfavors;
		this.userfocusedsForUid = userfocusedsForUid;
		this.userfocusedsForUided = userfocusedsForUided;
	}

	// Property accessors

	public Integer getUid() {
		return this.uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPasswd() {
		return this.passwd;
	}

	public void setPasswd(String passwd) {
		this.passwd = passwd;
	}

	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Date getBirth() {
		return this.birth;
	}

	public void setBirth(Date birth) {
		this.birth = birth;
	}

	public String getImg() {
		return this.img;
	}

	public void setImg(String img) {
		this.img = img;
	}

	public String getText() {
		return this.text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getTfkey() {
		return this.tfkey;
	}

	public void setTfkey(String tfkey) {
		this.tfkey = tfkey;
	}

	public Integer getCridit() {
		return this.cridit;
	}

	public void setCridit(Integer cridit) {
		this.cridit = cridit;
	}

	public Set getGroupinfos() {
		return this.groupinfos;
	}

	public void setGroupinfos(Set groupinfos) {
		this.groupinfos = groupinfos;
	}

	public Set getUserfavors() {
		return this.userfavors;
	}

	public void setUserfavors(Set userfavors) {
		this.userfavors = userfavors;
	}

	public Set getUserfocusedsForUid() {
		return this.userfocusedsForUid;
	}

	public void setUserfocusedsForUid(Set userfocusedsForUid) {
		this.userfocusedsForUid = userfocusedsForUid;
	}

	public Set getUserfocusedsForUided() {
		return this.userfocusedsForUided;
	}

	public void setUserfocusedsForUided(Set userfocusedsForUided) {
		this.userfocusedsForUided = userfocusedsForUided;
	}

}